import request from '@/utils/request'
const serviceName = 'Device'
//  列表
export function queryPatrolRoutes(data) {
  return request({
    url: serviceName + '/PatrolRoute/QueryPatrolRoutes',
    method: 'post',
    data
  })
}
//  详情
export function getPatrolRoute(data) {
  return request({
    url: serviceName + '/PatrolRoute/GetPatrolRoute',
    method: 'post',
    data
  })
}
//  新增 修改
export function savePatrolRoute(data) {
  return request({
    url: serviceName + '/PatrolRoute/SavePatrolRoute',
    method: 'post',
    data
  })
}
//  删除
export function deletePatrolRoutes(data) {
  return request({
    url: serviceName + '/PatrolRoute/DeletePatrolRoutes',
    method: 'post',
    data
  })
}

export default {
  queryPatrolRoutes,
  getPatrolRoute,
  savePatrolRoute,
  deletePatrolRoutes
}
